package com.yujie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yujie.domain.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yujie.domain.dto.EmployeeDTO;
import com.yujie.domain.query.EmployeeQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * (Employee)表服务接口
 *
 * @author wangyujie
 * @since 2023-08-14 20:12:24
 */
public interface EmployeeService extends IService<Employee> {
    public boolean saveEmployee(EmployeeQuery query);
    public boolean updateEmployee(EmployeeQuery query);

    public Page<EmployeeDTO> listPage(Page page, EmployeeQuery query);

    public void exportEmpExcel(Page page,EmployeeQuery query);
    public void exportTemplateExcel() throws Exception ;
    public String importEmployeeFromExcel(MultipartFile file) throws Exception;
}

